package cn.smile.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: MaoSuyu
 * @User：John
 * @Date: 2019/7/4
 * @Time: 17:27
 * @Description: No Description
 */
@Data
@NoArgsConstructor
public class Permission {

    /**
     * 数据库id
     */
    private int id;
    /**
     * 权限表达式
     */
    private String permission;
    /**
     * 具体的权限名
     */
    private String permissionName;


    /***************/
    public Permission(String permission, String permissionName) {
        this.permission = permission;
        this.permissionName = permissionName;
    }
}
